package com.chunlin.exception;

import java.io.File;
import java.io.FileNotFoundException;

public class Config {
    File file;

    public void openConfig(String filename) throws FileNotFoundException{
        if (!("config.ini".equals(filename))) {
            throw new FileNotFoundException("配置文件名字不对");
        }
    }
}
